<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>卡片组件</title>
		<link rel="stylesheet" href="./Bootstrap4.6.1/css/bootstrap.css">
		<script src="./Bootstrap4.6.1/js/jquery.js"></script>
		<script src="./Bootstrap4.6.1/js/bootstrap.bundle.js"></script>
		<style>
			img{
				width: 300px;
			}
		</style>
	</head>
	<body>
		<!-- 卡片组件 -->
		<div class="card" >
			<!-- 卡片顶部图片， card-img-top指定了图片位置在顶部-->
		  <img src="./img/img3.jpg" class="card-img-top" alt="...">
		  <!-- 卡片的主体内容 -->
		  <div class="card-body">
			  <!-- 标题文字 -->
		    <h5 class="card-title">Card title</h5>
			
			<!-- 内容文字 -->
		    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
		    <!-- 链接按钮 -->
			<a href="#" class="btn btn-primary">Go somewhere</a>
		  </div>
		</div>
	</body>
</html>